package com.example.lemis.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理操作数据
 * </p>
 *
 * @author lxp
 * @since 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_operation_log")
@ApiModel(value="SysOperationLog对象", description="管理操作数据")
public class SysOperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("admin_id")
    private Long adminId;

    @TableField("module")
    private String module;

    @TableField("action")
    private String action;

    @TableField("target_id")
    private Long targetId;

    @TableField("target_table")
    private String targetTable;

    @TableField("status")
    private Boolean status;

    @TableField("error_msg")
    private String errorMsg;

    @TableField("gmt_created")
    private LocalDateTime gmtCreated;


}
